function createDatatable(selector) {
    $(selector).dataTable({
        "dom": 'T Rlfrtip',
        "language": {
            "url": "/appbase-war/resources/scripts/datatables/translations/French.json"
        },
        "tableTools": {
            "sSwfPath": "/appbase-war/resources/scripts/datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf",
            "aButtons": [
                {
                    "sExtends": "collection",
                    "sButtonText": "Options",
                    "aButtons": [{
                            "sExtends": "copy",
                            "sButtonText": "Presse-papier"
                        }, "csv", "xls", "pdf"]
                }
            ]
        },
        "aaSorting": []
    });
}